'use strict';

const { DataTypes } = require('sequelize');

module.exports = {
    'product_name':{
        type: DataTypes.STRING,
        allowNull: false,
    },
    'price': {
        type: DataTypes.DECIMAL(18,2),
        allowNull: false,
    },
    'stock': {
        type: DataTypes.INTEGER,
        allowNull: false,
    },
    'supplier': {
        type: DataTypes.STRING,
        allowNull: false,
    }
}